import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Slot1 from '@/components/demo1/Slot1'
import Slot2 from '@/components/demo2/Slot2'
import Slot3 from '@/components/demo3/Slot3'
import Chart from '@/components/chart/Chart'
import Chart1 from '@/components/chart/Chart1'
import Chart2 from '@/components/chart/Chart2'
import Chart3 from '@/components/chart/Chart3'
import Call from '@/components/call/Call'
import D3Line from '@/components/d3/D3Line'
import Mock from '@/components/Mock'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/slot1',
      name: 'Slot1',
      component: Slot1
    },
   {
      path: '/slot2',
      name: 'Slot2',
      component: Slot2
    },{
      path: '/slot3',
      name: 'Slot3',
      component: Slot3
    },{
      path: '/chart',
      name: 'Chart',
      component: Chart
    },{
      path: '/chart1',
      name: 'Chart1',
      component: Chart1
    },{
      path: '/chart2',
      name: 'Chart2',
      component: Chart2
    },{
      path: '/chart3',
      name: 'Chart3',
      component: Chart3
    },{
      path: '/call',
      name: 'Call',
      component: Call
    },{
      path: '/d3_line',
      name: 'D3Line',
      component: D3Line
      
    },{
      path: '/mock',
      name: 'Mock',
      component: Mock
      
    }
  ]
})
